home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Education
/
PC-SiG's World of Education.iso
/
run
/
2602
/
read.hlp
< prev
next >
Wrap
Text File
|
1989-06-28
|
1KB
|
30 lines
READ
Returns the next data value from the file most recently specified by a
"FILE" statement. The first value on each line in this file must be an
x value followed by at least one f(x) value. Each field must be
separated by commas, tabs, or spaces. Values must be in ASCII. One
data value is read from the file for each READ occurrence in the
current group of statements. E.g. READ+READ would add two successive
f(x) values from the file. Only one file can be READ at a time; i.e.
you cannot group multiple FILE statements interspersed with multiple
READs.
READ will reset the START, STEP, and DUR values based on the first and
last data points in the file if START, STEP, and DUR were not specified
in the algorithm.
READ can be used to process a file previously created using the WRITE
procedure. See the `file formats' Help information.
+
If you do a PLOT(READ) statement, DAN will draw the plot grid and label
the fiducials after the first data point has been input. The program
does not know at this time the processing span in the file being READ
and hence will use the current DUR value (which may be considerably
different than the duration of the data points in the file). To get
around this limitation, either set the correct duration (if you know
it), or do the following:
filename = READ & SCALEY(filename);
PLOT(filename);